using System.Reflection;

namespace NFreeMarker.Ext.Beans
{
    /**
     * @author Attila Szegedi
     * @version $Id: $
     */
    class MemberAndArguments
    {
        private readonly MemberInfo _member;
        private readonly object[] _args;
        
        internal MemberAndArguments(MemberInfo member, object[] args)
        {
            _member = member;
            _args = args;
        }
        
        internal object[] GetArgs()
        {
            return _args;
        }
        
        public MemberInfo GetMember()
        {
            return _member;
        }
    }
}